﻿using JmShared;
using SuperSocket.SocketBase;
using SuperWebSocket.SubProtocol;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using WebSocketServer.Filters;
using WebSocketServer.Utilities;

namespace WebSocketServer.Commands
{
    [LoggedInValidationFilter(Order = 0)]
    [LogTimeCommandFilter(Order = 1)]
    public class CustomEmoticon : JsonSubCommand<JiveClientSession, ContactEmoticonTransfer>
    {
        private static readonly log4net.ILog log = log4net.LogManager.GetLogger
(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
        protected override void ExecuteJsonCommand(JiveClientSession session, ContactEmoticonTransfer emoticon)
        {
            session.ReceiveEmoticon(emoticon);
        }
    }
}
